FernleafSystems\Wordpress\Plugin\Shield\Modules\LoginGuard\Lib\TwoFactor\Provider\Email S

Total Complexity 28
Dependencies 10
Dependents 5
Total lines 174
Lines of code 145
Logical lines of code 45
Comment lines 5
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
sendEmailTwoFactorVerify()
S
45 5 44
processOtp()
S
62 4 11
getFormField()
S
54 2 21
hasValidatedProfile()
S
72 3 5
isProviderAvailableToUser()
S
75 3 4
maybeMigrate()
S
66 2 9
getUserProfileFormRenderData()
S
60 1 14
getJavascriptVars()
S
66 1 10
postSuccessActions()
S
76 1 4
toggleEmail2FA()
S
79 1 3
isEnforced()
S
78 1 3
isProviderEnabled()
S
81 1 3
generate2faCode()
S
67 1 7
getProviderName()
S
82 1 3
removeFromProfile()
S
77 1 4